<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="base::header">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body class="smoke-container">
<div style="margin-left: 10px; margin-top: 20px;">
    <div class="layui-form" action="" style="margin-top: 10px;">
        <div class="layui-form-item vertical-center">
            <div class="layui-inline">
                <input type="text" name="moduleName" placeholder="模块名称" id="keyword_input_id"
                       class="layui-input" th:value="${param.moduleName?:''}">
            </div>
            <div class="layui-inline">
                <input type="text" name="taskCode" placeholder="任务编码" id="task_code_input_id"
                       class="layui-input" th:value="${param.taskCode?:''}">
            </div>
            <div class="layui-inline">
                <input type="text" name="taskName" placeholder="任务名称" id="task_name_input_id"
                       class="layui-input" th:value="${param.taskName?:''}">
            </div>
            <div class="layui-inline">
                <select name="notifyStatus" placeholder="通知状态" id="notify_status_input_id"
                        class="layui-input" th:value="${param.notifyStatus?:''}">
                    <option value="">请选择通知状态</option>
                    <option value="0">初始状态</option>
                    <option value="1">成功</option>
                    <option value="2">失败重试中</option>
                    <option value="3">失败</option>
                </select>
            </div>
            <div class="layui-inline" style="margin-top: 10px;">
                <button type="button" class="layui-btn" lay-submit lay-filter="search_button_filter">查询</button>
                <button type="button" class="layui-btn layui-btn-primary" lay-submit lay-filter="reset_button_filter">重置</button>
            </div>
        </div>
    </div>

    <div id="detail_table_id" lay-filter="detail_table_id">
    </div>
</div>

<script type="text/html" id="operator">
    <div class="layui-clear-space">
        <a class="layui-btn layui-btn-xs" lay-event="detail">详情</a>
        {{#  if(d.notifyStatus === 3){ }}
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="retry">重试</a>
        {{#  } }}
    </div>
</script>


<script th:src="@{/js/admin/detail.js}"></script>
</body>
</html>